package com.aaa.service.fpa;

import com.aaa.entity.Result;
import com.aaa.entity.fpa.TestResultFpa;
import com.aaa.entity.fpa.TesterFpa;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 性格测试者(TesterFpa)表服务接口
 *
 * @author makejava
 * @since 2022-09-03 21:03:03
 */
public interface TesterFpaService {
    /**
     * 验证手机号是否重复
     * @return
     */
    TesterFpa queryByPhone(String phone);
    /**
     * 添加测试人
     */
    int addQuery(TesterFpa testerFpa);
    /**
     * 批量添加答案
     */
    int insertBatch(@Param("entities")List<TestResultFpa> entities);
    /**
     * 查询测试者结果
     * @return
     */
    Result seleResult(Integer testerId);
}
